Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. how to add transparent img in stylesheet problem?

how to add transparent img in stylesheet problem?

Scheduled Pinned Locked Moved Solved Qt for Python
2 Posts 1 Posters 328 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Suhel
    wrote on last edited by
    #1

    my pushbutton11 image is transparent png image but qt set white in transparent area ![my live wight image](Screenshot 2023-05-30 203942.png image url)1.png and this is my button image png

    S 1 Reply Last reply
    0
    • S Suhel

      my pushbutton11 image is transparent png image but qt set white in transparent area ![my live wight image](Screenshot 2023-05-30 203942.png image url)1.png and this is my button image png

      S Offline
      S Offline
      Suhel
      wrote on last edited by
      #2

      @Suhel sorry my problem is solve my first stylesheet line is this --> /background-image: url({Url}{val}.png) ;
      and replace this line to this line -->background: url({Url}{val}.png) transparent;

      1 Reply Last reply
      0
      • SGaistS SGaist has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved